#include "relaycomputer.h"

RelayComputer::RelayComputer()
{
    mCId = 0;
    mBId = 0;
    mRId = 0;

    mName = "";
    mAccount = "";
    mPassword = "";

    uuid = "";
}

RelayComputer::RelayComputer(quint8 cid, quint8 bid, quint8 rid, QString& name, QString& account, QString& password)
{
    mCId = cid;
    mBId = bid;
    mRId = rid;

    mName = name;
    mAccount = account;
    mPassword = password;

    uuid = "";
}

QString RelayComputer::shutDown()
{
    //QString("net rpc shutdown -S %1 -U %2%%3 &").arg(sd.name).arg(sd.account).arg(sd.password);
    return QString("net rpc shutdown -S %1 -U %2%%3 &").arg(mName).arg(mAccount).arg(mPassword);
}
